<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .justify {
      width: 500px;
      height: 200px;
      display: flex;
      justify-content: space-between;
      background-color: aqua;
    }

    i {
      width: 30px;
      height: 30px;
      background-color: black;
      color: white;
    }
  </style>
</head>

<body>

  <div class="justify">
    <i>1</i>
    <i>2</i>
    <i>3</i>
    <i>4</i>
    <i>5</i>
  </div>

</body>

</html>